﻿<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Realm MUD Home</title>        @{
        var cssForScreenBundleUrl = BundleTable.Bundles.ResolveBundleUrl("~/Content/cssForScreen", true);
        }
        <link href="@cssForScreenBundleUrl" rel="stylesheet" type="text/css" media="screen" />
        @{
            var cssForPrintingBundleUrl = BundleTable.Bundles.ResolveBundleUrl("~/Content/cssForPrinting", true);
        }
        <link href="@cssForPrintingBundleUrl" rel="stylesheet" type="text/css" media="print" />
        @Styles.Render("~/Content/css")
        @Scripts.Render("~/bundles/modernizr")
        @Scripts.Render("~/bundles/jquery")
        @Scripts.Render("~/bundles/jqueryui")
        @Scripts.Render("~/bundles/knockoutBaseLibraries")
        <script src="~/Scripts/colorbox/jquery.colorbox.js"></script>
        @Scripts.Render("~/bundles/allCustomViewModels")
        @Scripts.Render("~/bundles/layoutIndex")
    </head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top" data-bind="with: SiteUser">
        <!-- ko if: IsLoggedIn -->
        @Html.Partial("_LoggedInHeader")
        <!-- /ko -->
        <!-- ko ifnot: IsLoggedIn -->
        @Html.Partial("_NotLoggedInHeader")
        <!-- /ko -->
    </div>
    <div class="container body-content" data-bind="stopBinding: true">
        <div id="body">
            @RenderBody()
        </div>
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year - My ASP.NET Application</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
